package mytaxis.client.app;

import java.util.ArrayList;

import mytaxis.client.menu.Titular;

import android.app.Application;
import android.util.Log;
import android.util.Pair;

public class MyTaxisClientApplication extends Application {

		private boolean filterStatus = false;
		private String statusFiltered = "";
		private String listTitle = "";
		private int authToken = -1;
		private boolean map = false;
		private ArrayList<String> listParades = null;
		private String mail;
		private int NumPeticio = -1;
		private String NomTaxista = null;
		private double posxTaxi;
		private double posyTaxi;
		private Titular[] listPeticions = null;
		private boolean Book = false;
		
		public void setBook(boolean b){
			Book = b;
		}
		
		public boolean getBook(){
			return Book;
		}
		public void setListPeticions(Titular[] list){
			listPeticions = list.clone();
		}
		
		public Titular[] getlistPeticions(){
			return listPeticions;
		}
		public void setNomTaxista(String nom){
			NomTaxista = nom;
		}
		
		public String getNomTaxista(){
			return NomTaxista;
		}
		
		public void setposxTaxi(double posx){
			posxTaxi = posx;
		}
		
		public double getposxTaxi(){
			return posxTaxi;
		}
		
		public void setposyTaxi(double posy){
			posyTaxi = posy;
		}
		
		public double getposyTaxi(){
			return posyTaxi;
		}
		public void setNumPeticio (int NumPeticio){
			this.NumPeticio = NumPeticio;
		}

		public int getNumPeticio(){
			return NumPeticio;
		}
		public void setEmail(String mail){
			this.mail = mail;
		}

		public String getEmail(){
			return mail;
		}
		
		public void setParades(ArrayList<String> list){
			listParades = (ArrayList<String>) list.clone();
		}
		
		public ArrayList<String> getParades(){
			return listParades;
		}
		
		public boolean isFilterStatus() {
			return filterStatus;
		}

		public void setFilterStatus(boolean filterStatus) {
			this.filterStatus = filterStatus;
		}

		public String getStatusFiltered() {
			return statusFiltered;
		}

		public void setStatusFiltered(String statusFiltered) {
			this.statusFiltered = statusFiltered;
		}

		public String getListTitle() {
			return listTitle;
		}

		public void setListTitle(String listTitle) {
			this.listTitle = listTitle;
		}

		public int getAuthToken() {
			return authToken;
		}

		public void setAuthToken(int authToken) {
			this.authToken = authToken;
		}

		public boolean getMap(){
			return map;
		}
		
		public void setMap(boolean map){
			this.map = map;
		}

	}

